<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdaSqlStatement: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="libgda-provider-parser.html" title="SQL parser">
<link rel="prev" href="ch47s02.html" title="Tips to write a custom parser">
<link rel="next" href="libgda-provider-pack.html" title="Assembling all the parts">
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#libgda-5.0-GdaSqlStatement.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libgda-provider-parser.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch47s02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libgda-provider-pack.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libgda-5.0-GdaSqlStatement"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgda-5.0-GdaSqlStatement.top_of_page"></a>GdaSqlStatement</span></h2>
<p>GdaSqlStatement — SQL statement</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libgda-5.0-GdaSqlStatement.stability-level"></a><h2>Stability Level</h2>
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="libgda-5.0-GdaSqlStatement.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="returnvalue">GdaSqlStatement</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-new" title="gda_sql_statement_new ()">gda_sql_statement_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="returnvalue">GdaSqlStatement</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-copy" title="gda_sql_statement_copy ()">gda_sql_statement_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-free" title="gda_sql_statement_free ()">gda_sql_statement_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-serialize" title="gda_sql_statement_serialize ()">gda_sql_statement_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-type-to-string" title="gda_sql_statement_type_to_string ()">gda_sql_statement_type_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="returnvalue">GdaSqlStatementType</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-string-to-type" title="gda_sql_statement_string_to_type ()">gda_sql_statement_string_to_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-check-structure" title="gda_sql_statement_check_structure ()">gda_sql_statement_check_structure</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-check-validity" title="gda_sql_statement_check_validity ()">gda_sql_statement_check_validity</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-check-validity-m" title="gda_sql_statement_check_validity_m ()">gda_sql_statement_check_validity_m</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-check-clean" title="gda_sql_statement_check_clean ()">gda_sql_statement_check_clean</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-normalize" title="gda_sql_statement_normalize ()">gda_sql_statement_normalize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GDA-SQL-ANY-PART:CAPS" title="GDA_SQL_ANY_PART()">GDA_SQL_ANY_PART</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlForeachFunc" title="GdaSqlForeachFunc ()">*GdaSqlForeachFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-any-part-foreach" title="gda_sql_any_part_foreach ()">gda_sql_any_part_foreach</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-unknown-take-expressions" title="gda_sql_statement_unknown_take_expressions ()">gda_sql_statement_unknown_take_expressions</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-trans-take-mode" title="gda_sql_statement_trans_take_mode ()">gda_sql_statement_trans_take_mode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-trans-take-name" title="gda_sql_statement_trans_take_name ()">gda_sql_statement_trans_take_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-trans-set-isol-level" title="gda_sql_statement_trans_set_isol_level ()">gda_sql_statement_trans_set_isol_level</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-select-take-distinct" title="gda_sql_statement_select_take_distinct ()">gda_sql_statement_select_take_distinct</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-select-take-expr-list" title="gda_sql_statement_select_take_expr_list ()">gda_sql_statement_select_take_expr_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-select-take-from" title="gda_sql_statement_select_take_from ()">gda_sql_statement_select_take_from</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-select-take-where-cond" title="gda_sql_statement_select_take_where_cond ()">gda_sql_statement_select_take_where_cond</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-select-take-group-by" title="gda_sql_statement_select_take_group_by ()">gda_sql_statement_select_take_group_by</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-select-take-having-cond" title="gda_sql_statement_select_take_having_cond ()">gda_sql_statement_select_take_having_cond</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-select-take-order-by" title="gda_sql_statement_select_take_order_by ()">gda_sql_statement_select_take_order_by</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-select-take-limits" title="gda_sql_statement_select_take_limits ()">gda_sql_statement_select_take_limits</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-insert-take-table-name" title="gda_sql_statement_insert_take_table_name ()">gda_sql_statement_insert_take_table_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-insert-take-on-conflict" title="gda_sql_statement_insert_take_on_conflict ()">gda_sql_statement_insert_take_on_conflict</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-insert-take-fields-list" title="gda_sql_statement_insert_take_fields_list ()">gda_sql_statement_insert_take_fields_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-insert-take-1-values-list" title="gda_sql_statement_insert_take_1_values_list ()">gda_sql_statement_insert_take_1_values_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-insert-take-extra-values-list" title="gda_sql_statement_insert_take_extra_values_list ()">gda_sql_statement_insert_take_extra_values_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-insert-take-select" title="gda_sql_statement_insert_take_select ()">gda_sql_statement_insert_take_select</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-delete-take-table-name" title="gda_sql_statement_delete_take_table_name ()">gda_sql_statement_delete_take_table_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-delete-take-condition" title="gda_sql_statement_delete_take_condition ()">gda_sql_statement_delete_take_condition</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-update-take-table-name" title="gda_sql_statement_update_take_table_name ()">gda_sql_statement_update_take_table_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-update-take-on-conflict" title="gda_sql_statement_update_take_on_conflict ()">gda_sql_statement_update_take_on_conflict</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-update-take-condition" title="gda_sql_statement_update_take_condition ()">gda_sql_statement_update_take_condition</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-update-take-set-value" title="gda_sql_statement_update_take_set_value ()">gda_sql_statement_update_take_set_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-compound-set-type" title="gda_sql_statement_compound_set_type ()">gda_sql_statement_compound_set_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-compound-take-stmt" title="gda_sql_statement_compound_take_stmt ()">gda_sql_statement_compound_take_stmt</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="returnvalue">GdaSqlExpr</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-expr-new" title="gda_sql_expr_new ()">gda_sql_expr_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-expr-free" title="gda_sql_expr_free ()">gda_sql_expr_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="returnvalue">GdaSqlExpr</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-expr-copy" title="gda_sql_expr_copy ()">gda_sql_expr_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-expr-serialize" title="gda_sql_expr_serialize ()">gda_sql_expr_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-expr-take-select" title="gda_sql_expr_take_select ()">gda_sql_expr_take_select</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="returnvalue">GdaSqlParamSpec</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-param-spec-new" title="gda_sql_param_spec_new ()">gda_sql_param_spec_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="returnvalue">GdaSqlParamSpec</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-param-spec-copy" title="gda_sql_param_spec_copy ()">gda_sql_param_spec_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-param-spec-take-name" title="gda_sql_param_spec_take_name ()">gda_sql_param_spec_take_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-param-spec-take-type" title="gda_sql_param_spec_take_type ()">gda_sql_param_spec_take_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-param-spec-take-descr" title="gda_sql_param_spec_take_descr ()">gda_sql_param_spec_take_descr</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-param-spec-take-nullok" title="gda_sql_param_spec_take_nullok ()">gda_sql_param_spec_take_nullok</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-param-spec-free" title="gda_sql_param_spec_free ()">gda_sql_param_spec_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-param-spec-serialize" title="gda_sql_param_spec_serialize ()">gda_sql_param_spec_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="returnvalue">GdaSqlField</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-field-new" title="gda_sql_field_new ()">gda_sql_field_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-field-free" title="gda_sql_field_free ()">gda_sql_field_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="returnvalue">GdaSqlField</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-field-copy" title="gda_sql_field_copy ()">gda_sql_field_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-field-serialize" title="gda_sql_field_serialize ()">gda_sql_field_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-field-take-name" title="gda_sql_field_take_name ()">gda_sql_field_take_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="returnvalue">GdaSqlTable</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-table-new" title="gda_sql_table_new ()">gda_sql_table_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-table-free" title="gda_sql_table_free ()">gda_sql_table_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="returnvalue">GdaSqlTable</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-table-copy" title="gda_sql_table_copy ()">gda_sql_table_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-table-serialize" title="gda_sql_table_serialize ()">gda_sql_table_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-table-take-name" title="gda_sql_table_take_name ()">gda_sql_table_take_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="returnvalue">GdaSqlFunction</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-function-new" title="gda_sql_function_new ()">gda_sql_function_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-function-free" title="gda_sql_function_free ()">gda_sql_function_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="returnvalue">GdaSqlFunction</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-function-copy" title="gda_sql_function_copy ()">gda_sql_function_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-function-serialize" title="gda_sql_function_serialize ()">gda_sql_function_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-function-take-name" title="gda_sql_function_take_name ()">gda_sql_function_take_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-function-take-args-list" title="gda_sql_function_take_args_list ()">gda_sql_function_take_args_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="returnvalue">GdaSqlOperation</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-operation-new" title="gda_sql_operation_new ()">gda_sql_operation_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-operation-free" title="gda_sql_operation_free ()">gda_sql_operation_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="returnvalue">GdaSqlOperation</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-operation-copy" title="gda_sql_operation_copy ()">gda_sql_operation_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-operation-serialize" title="gda_sql_operation_serialize ()">gda_sql_operation_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-operation-operator-to-string" title="gda_sql_operation_operator_to_string ()">gda_sql_operation_operator_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperatorType" title="enum GdaSqlOperatorType"><span class="returnvalue">GdaSqlOperatorType</span></a>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-operation-operator-from-string" title="gda_sql_operation_operator_from_string ()">gda_sql_operation_operator_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="returnvalue">GdaSqlCase</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-case-new" title="gda_sql_case_new ()">gda_sql_case_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-case-free" title="gda_sql_case_free ()">gda_sql_case_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="returnvalue">GdaSqlCase</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-case-copy" title="gda_sql_case_copy ()">gda_sql_case_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-case-serialize" title="gda_sql_case_serialize ()">gda_sql_case_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="returnvalue">GdaSqlSelectField</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-field-new" title="gda_sql_select_field_new ()">gda_sql_select_field_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-field-free" title="gda_sql_select_field_free ()">gda_sql_select_field_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="returnvalue">GdaSqlSelectField</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-field-copy" title="gda_sql_select_field_copy ()">gda_sql_select_field_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-field-serialize" title="gda_sql_select_field_serialize ()">gda_sql_select_field_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-field-take-star-value" title="gda_sql_select_field_take_star_value ()">gda_sql_select_field_take_star_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-field-take-expr" title="gda_sql_select_field_take_expr ()">gda_sql_select_field_take_expr</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-field-take-alias" title="gda_sql_select_field_take_alias ()">gda_sql_select_field_take_alias</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="returnvalue">GdaSqlSelectTarget</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-target-new" title="gda_sql_select_target_new ()">gda_sql_select_target_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-target-free" title="gda_sql_select_target_free ()">gda_sql_select_target_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="returnvalue">GdaSqlSelectTarget</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-target-copy" title="gda_sql_select_target_copy ()">gda_sql_select_target_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-target-serialize" title="gda_sql_select_target_serialize ()">gda_sql_select_target_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-target-take-table-name" title="gda_sql_select_target_take_table_name ()">gda_sql_select_target_take_table_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-target-take-select" title="gda_sql_select_target_take_select ()">gda_sql_select_target_take_select</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-target-take-alias" title="gda_sql_select_target_take_alias ()">gda_sql_select_target_take_alias</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="returnvalue">GdaSqlSelectJoin</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-join-new" title="gda_sql_select_join_new ()">gda_sql_select_join_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-join-free" title="gda_sql_select_join_free ()">gda_sql_select_join_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="returnvalue">GdaSqlSelectJoin</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-join-copy" title="gda_sql_select_join_copy ()">gda_sql_select_join_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-join-serialize" title="gda_sql_select_join_serialize ()">gda_sql_select_join_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-join-type-to-string" title="gda_sql_select_join_type_to_string ()">gda_sql_select_join_type_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="returnvalue">GdaSqlSelectFrom</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-from-new" title="gda_sql_select_from_new ()">gda_sql_select_from_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-from-free" title="gda_sql_select_from_free ()">gda_sql_select_from_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="returnvalue">GdaSqlSelectFrom</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-from-copy" title="gda_sql_select_from_copy ()">gda_sql_select_from_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-from-serialize" title="gda_sql_select_from_serialize ()">gda_sql_select_from_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-from-take-new-target" title="gda_sql_select_from_take_new_target ()">gda_sql_select_from_take_new_target</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-from-take-new-join" title="gda_sql_select_from_take_new_join ()">gda_sql_select_from_take_new_join</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="returnvalue">GdaSqlSelectOrder</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-order-new" title="gda_sql_select_order_new ()">gda_sql_select_order_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-order-free" title="gda_sql_select_order_free ()">gda_sql_select_order_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="returnvalue">GdaSqlSelectOrder</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-order-copy" title="gda_sql_select_order_copy ()">gda_sql_select_order_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-select-order-serialize" title="gda_sql_select_order_serialize ()">gda_sql_select_order_serialize</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-value-stringify" title="gda_sql_value_stringify ()">gda_sql_value_stringify</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdaSqlStatement.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement">GdaSqlStatement</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType">GdaSqlStatementType</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart">GdaSqlAnyPart</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPartType" title="enum GdaSqlAnyPartType">GdaSqlAnyPartType</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementUnknown" title="GdaSqlStatementUnknown">GdaSqlStatementUnknown</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementTransaction" title="GdaSqlStatementTransaction">GdaSqlStatementTransaction</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect">GdaSqlStatementSelect</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementInsert" title="GdaSqlStatementInsert">GdaSqlStatementInsert</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementDelete" title="GdaSqlStatementDelete">GdaSqlStatementDelete</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementUpdate" title="GdaSqlStatementUpdate">GdaSqlStatementUpdate</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementCompound" title="GdaSqlStatementCompound">GdaSqlStatementCompound</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementCompoundType" title="enum GdaSqlStatementCompoundType">GdaSqlStatementCompoundType</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr">GdaSqlExpr</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec">GdaSqlParamSpec</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField">GdaSqlField</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable">GdaSqlTable</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction">GdaSqlFunction</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation">GdaSqlOperation</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperatorType" title="enum GdaSqlOperatorType">GdaSqlOperatorType</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase">GdaSqlCase</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField">GdaSqlSelectField</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget">GdaSqlSelectTarget</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin">GdaSqlSelectJoin</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoinType" title="enum GdaSqlSelectJoinType">GdaSqlSelectJoinType</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom">GdaSqlSelectFrom</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder">GdaSqlSelectOrder</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdaSqlStatement.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;libgda/sql-parser/gda-sql-statement.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdaSqlStatement.description"></a><h2>Description</h2>
<p>Use the <a class="link" href="GdaSqlBuilder.html" title="GdaSqlBuilder"><span class="type">GdaSqlBuilder</span></a> object to build <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> structures.</p>
<p>Every SQL statement can be decomposed in a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> structure. This is not a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>, but rather just a C structure
which can be manipulated directly. The structure is a tree composed of several key structures which are show in the following diagram
(even though it does not show, all structures "inherit" the <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> structure which holds some basic information).</p>
<div class="mediaobject">
<img src="parts.png"><div class="caption"><p>
     Main parts of the <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> structure.
   </p></div>
</div>
<p>The samples/SqlParserConsole directory of <span class="application">Libgda</span>'s sources contains a small utility
to display statements' structures as a graph (using the GraphViz language). It has been used to
provide the examples in this section of the documentation.</p>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdaSqlStatement.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gda-sql-statement-new"></a><h3>gda_sql_statement_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="returnvalue">GdaSqlStatement</span></a> *
gda_sql_statement_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="type">GdaSqlStatementType</span></a> type</code></em>);</pre>
<p>Use this function to create a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> of the specified <em class="parameter"><code>type</code></em>
 type.</p>
<div class="refsect3">
<a name="gda-sql-statement-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>type of statement to create</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-copy"></a><h3>gda_sql_statement_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="returnvalue">GdaSqlStatement</span></a> *
gda_sql_statement_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>);</pre>
<p>Creates a copy of <em class="parameter"><code>stmt</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-statement-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-free"></a><h3>gda_sql_statement_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>);</pre>
<p>Releases any memory associated to <em class="parameter"><code>stmt</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-statement-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-serialize"></a><h3>gda_sql_statement_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_statement_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>);</pre>
<p>Creates a string representation of <em class="parameter"><code>stmt</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-statement-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-serialize.returns"></a><h4>Returns</h4>
<p> a new string</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-type-to-string"></a><h3>gda_sql_statement_type_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_statement_type_to_string (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="type">GdaSqlStatementType</span></a> type</code></em>);</pre>
<p>Converts a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="type">GdaSqlStatementType</span></a> to a string, see also <a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-string-to-type" title="gda_sql_statement_string_to_type ()"><code class="function">gda_sql_statement_string_to_type()</code></a></p>
<div class="refsect3">
<a name="gda-sql-statement-type-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="type">GdaSqlStatementType</span></a> value</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-type-to-string.returns"></a><h4>Returns</h4>
<p> a constant string</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-string-to-type"></a><h3>gda_sql_statement_string_to_type ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="returnvalue">GdaSqlStatementType</span></a>
gda_sql_statement_string_to_type (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type</code></em>);</pre>
<p>Converts a string to a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="type">GdaSqlStatementType</span></a> value, see also <a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-type-to-string" title="gda_sql_statement_type_to_string ()"><code class="function">gda_sql_statement_type_to_string()</code></a></p>
<div class="refsect3">
<a name="gda-sql-statement-string-to-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a string representing a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="type">GdaSqlStatementType</span></a> type</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-string-to-type.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="type">GdaSqlStatementType</span></a> value</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-check-structure"></a><h3>gda_sql_statement_check_structure ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_sql_statement_check_structure (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Checks for any error in <em class="parameter"><code>stmt</code></em>
's structure to make sure the statement is valid
(for example a SELECT statement must at least return a column, a DELETE statement must specify which table
is targeted).</p>
<div class="refsect3">
<a name="gda-sql-statement-check-structure.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-check-structure.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-check-validity"></a><h3>gda_sql_statement_check_validity ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_sql_statement_check_validity (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                  <em class="parameter"><code><a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> *cnc</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>If <em class="parameter"><code>cnc</code></em>
 is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then checks that all the database objects referenced in the statement actually
exist in the connection's database (for example the table being updated in a UPDATE statement must exist in the
connection's database for the check to succeed). This method fills the <em class="parameter"><code>stmt</code></em>
-&gt;validity_meta_struct attribute.</p>
<p>If <em class="parameter"><code>cnc</code></em>
 is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then remove any information from a previous call to this method stored in <em class="parameter"><code>stmt</code></em>
. In this case,
the <em class="parameter"><code>stmt</code></em>
-&gt;validity_meta_struct attribute is cleared.</p>
<p>Also note that some parts of <em class="parameter"><code>stmt</code></em>
 may be modified: for example leading and trailing spaces in aliases or
objects names will be removed.</p>
<div class="refsect3">
<a name="gda-sql-statement-check-validity.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cnc</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> object, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-check-validity.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-check-validity-m"></a><h3>gda_sql_statement_check_validity_m ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_sql_statement_check_validity_m (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                    <em class="parameter"><code><a class="link" href="GdaMetaStruct.html" title="GdaMetaStruct"><span class="type">GdaMetaStruct</span></a> *mstruct</code></em>,
                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>If <em class="parameter"><code>mstruct</code></em>
 is not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then checks that all the database objects referenced in the statement i
actually referenced in <em class="parameter"><code>mstruct</code></em>

 (for example the table being updated in a UPDATE statement must exist in the
connection's database for the check to succeed).
This method sets the <em class="parameter"><code>stmt</code></em>
-&gt;validity_meta_struct attribute to <em class="parameter"><code>mstruct</code></em>
.</p>
<p>If <em class="parameter"><code>mstruct</code></em>
 is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then remove any information from a previous call to this method stored in <em class="parameter"><code>stmt</code></em>
. In this case,
the <em class="parameter"><code>stmt</code></em>
-&gt;validity_meta_struct attribute is cleared.</p>
<p>Also note that some parts of <em class="parameter"><code>stmt</code></em>
 may be modified: for example leading and trailing spaces in aliases or
objects names will be removed.</p>
<div class="refsect3">
<a name="gda-sql-statement-check-validity-m.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mstruct</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaMetaStruct.html" title="GdaMetaStruct"><span class="type">GdaMetaStruct</span></a> object, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-check-validity-m.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred</p>
</div>
<p class="since">Since: 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-check-clean"></a><h3>gda_sql_statement_check_clean ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_check_clean (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>);</pre>
<p>Cleans any data set by a previous call to <a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-statement-check-validity" title="gda_sql_statement_check_validity ()"><code class="function">gda_sql_statement_check_validity()</code></a>.</p>
<div class="refsect3">
<a name="gda-sql-statement-check-clean.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a pinter to a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-normalize"></a><h3>gda_sql_statement_normalize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_sql_statement_normalize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                             <em class="parameter"><code><a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> *cnc</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>"Normalizes" (in place) some parts of <em class="parameter"><code>stmt</code></em>
, which means <em class="parameter"><code>stmt</code></em>
 may be modified.
At the moment any "*" field in a SELECT statement will be replaced by one
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure for each field in the referenced table.</p>
<div class="refsect3">
<a name="gda-sql-statement-normalize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a pointer to a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cnc</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaConnection.html" title="GdaConnection"><span class="type">GdaConnection</span></a> object, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-statement-normalize.returns"></a><h4>Returns</h4>
<p> TRUE if no error occurred</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GDA-SQL-ANY-PART:CAPS"></a><h3>GDA_SQL_ANY_PART()</h3>
<pre class="programlisting">#define             GDA_SQL_ANY_PART(x)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlForeachFunc"></a><h3>GdaSqlForeachFunc ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="c_punctuation">(</span>*GdaSqlForeachFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *part</code></em>,
                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Specifies the type of functions passed to <a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-any-part-foreach" title="gda_sql_any_part_foreach ()"><code class="function">gda_sql_any_part_foreach()</code></a>.</p>
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
<div class="refsect3">
<a name="GdaSqlForeachFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>part</p></td>
<td class="parameter_description"><p>the current <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> node</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data passed to <a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-any-part-foreach" title="gda_sql_any_part_foreach ()"><code class="function">gda_sql_any_part_foreach()</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>pointer to a place to store errors</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GdaSqlForeachFunc.returns"></a><h4>Returns</h4>
<p>FALSE if the <a class="link" href="libgda-5.0-GdaSqlStatement.html#gda-sql-any-part-foreach" title="gda_sql_any_part_foreach ()"><code class="function">gda_sql_any_part_foreach()</code></a> should stop at this point and fail</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-any-part-foreach"></a><h3>gda_sql_any_part_foreach ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gda_sql_any_part_foreach (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *node</code></em>,
                          <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlForeachFunc" title="GdaSqlForeachFunc ()"><span class="type">GdaSqlForeachFunc</span></a> func</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Calls a function for each element of a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> node</p>
<div class="refsect3">
<a name="gda-sql-any-part-foreach.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>node</p></td>
<td class="parameter_description"><p>the stat node</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>function to call for each sub node. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/scope%20call"><span class="acronym">scope call</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>func</code></em>
each time it is called. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/closure"><span class="acronym">closure</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> (is also passed to <em class="parameter"><code>func</code></em>
)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-any-part-foreach.returns"></a><h4>Returns</h4>
<p> TRUE if <em class="parameter"><code>func</code></em>
has been called for any sub node of <em class="parameter"><code>node</code></em>
and always returned TRUE, or FALSE
otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-unknown-take-expressions"></a><h3>gda_sql_statement_unknown_take_expressions ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_unknown_take_expressions
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *expressions</code></em>);</pre>
<p>Sets <em class="parameter"><code>stmt</code></em>
's list of expressions</p>
<p><em class="parameter"><code>expressions</code></em>
's 
ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-unknown-take-expressions.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>expressions</p></td>
<td class="parameter_description"><p>a list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointers</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-trans-take-mode"></a><h3>gda_sql_statement_trans_take_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_trans_take_mode (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the model of the transaction</p>
<p><em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-trans-take-mode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a G_TYPE_STRING value. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-trans-take-name"></a><h3>gda_sql_statement_trans_take_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_trans_take_name (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the name of the transaction</p>
<p><em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-trans-take-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a G_TYPE_STRING value. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-trans-set-isol-level"></a><h3>gda_sql_statement_trans_set_isol_level ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_trans_set_isol_level
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a class="link" href="GdaTransactionStatus.html#GdaTransactionIsolation" title="enum GdaTransactionIsolation"><span class="type">GdaTransactionIsolation</span></a> level</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-select-take-distinct"></a><h3>gda_sql_statement_select_take_distinct ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_select_take_distinct
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> distinct</code></em>,
                                <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *distinct_expr</code></em>);</pre>
<p>Sets the DISTINCT clause of <em class="parameter"><code>stmt</code></em>
. </p>
<p><em class="parameter"><code>distinct_expr</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-select-take-distinct.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>distinct</p></td>
<td class="parameter_description"><p>a TRUE/FALSE value</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>distinct_expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointer representing what the DISTINCT is on, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-select-take-expr-list"></a><h3>gda_sql_statement_select_take_expr_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_select_take_expr_list
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *expr_list</code></em>);</pre>
<p>Sets list of expressions selected by <em class="parameter"><code>stmt</code></em>
</p>
<p><em class="parameter"><code>expr_list</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-select-take-expr-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>expr_list</p></td>
<td class="parameter_description"><p>a list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> pointers</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-select-take-from"></a><h3>gda_sql_statement_select_take_from ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_select_take_from (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                    <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> *from</code></em>);</pre>
<p>Sets the FROM clause of <em class="parameter"><code>stmt</code></em>
</p>
<p><em class="parameter"><code>from</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-select-take-from.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>from</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-select-take-where-cond"></a><h3>gda_sql_statement_select_take_where_cond ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_select_take_where_cond
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *expr</code></em>);</pre>
<p>Sets the WHERE clause of <em class="parameter"><code>stmt</code></em>
</p>
<p><em class="parameter"><code>expr</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-select-take-where-cond.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-select-take-group-by"></a><h3>gda_sql_statement_select_take_group_by ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_select_take_group_by
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *group_by</code></em>);</pre>
<p>Sets the GROUP BY clause of <em class="parameter"><code>stmt</code></em>
</p>
<p><em class="parameter"><code>group_by</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-select-take-group-by.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>group_by</p></td>
<td class="parameter_description"><p>a list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-select-take-having-cond"></a><h3>gda_sql_statement_select_take_having_cond ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_select_take_having_cond
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *expr</code></em>);</pre>
<p>Sets the HAVING clause of <em class="parameter"><code>stmt</code></em>
</p>
<p><em class="parameter"><code>expr</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-select-take-having-cond.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-select-take-order-by"></a><h3>gda_sql_statement_select_take_order_by ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_select_take_order_by
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *order_by</code></em>);</pre>
<p>Sets the ORDER BY clause of <em class="parameter"><code>stmt</code></em>
</p>
<p><em class="parameter"><code>order_by</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-select-take-order-by.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>order_by</p></td>
<td class="parameter_description"><p>a list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-select-take-limits"></a><h3>gda_sql_statement_select_take_limits ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_select_take_limits (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                      <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *count</code></em>,
                                      <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *offset</code></em>);</pre>
<p>Sets the LIMIT clause of <em class="parameter"><code>stmt</code></em>
</p>
<p><em class="parameter"><code>count</code></em>
 and <em class="parameter"><code>offset</code></em>
's responsibility are transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing them when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-select-take-limits.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>count</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>offset</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-insert-take-table-name"></a><h3>gda_sql_statement_insert_take_table_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_insert_take_table_name
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the name of the table to insert into in <em class="parameter"><code>stmt</code></em>
. <em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-insert-take-table-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>name of the table to insert into, as a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-insert-take-on-conflict"></a><h3>gda_sql_statement_insert_take_on_conflict ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_insert_take_on_conflict
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the name of the resolution conflict algorithm used by <em class="parameter"><code>stmt</code></em>
. <em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-insert-take-on-conflict.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>name of the resolution conflict algorithm, as a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-insert-take-fields-list"></a><h3>gda_sql_statement_insert_take_fields_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_insert_take_fields_list
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
<p>Sets the list of fields for which values will be specified in <em class="parameter"><code>stmt</code></em>
. <em class="parameter"><code>list</code></em>
's 
ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-insert-take-fields-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> pointers</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-insert-take-1-values-list"></a><h3>gda_sql_statement_insert_take_1_values_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_insert_take_1_values_list
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
<p>Sets a list of list of values to be inserted by <em class="parameter"><code>stmt</code></em>
. <em class="parameter"><code>list</code></em>
's 
ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-insert-take-1-values-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a list of <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointers</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-insert-take-extra-values-list"></a><h3>gda_sql_statement_insert_take_extra_values_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_insert_take_extra_values_list
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *list</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-insert-take-select"></a><h3>gda_sql_statement_insert_take_select ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_insert_take_select (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                      <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *select</code></em>);</pre>
<p>Specifies a SELECT statement, the values inserted will be the result set of <em class="parameter"><code>select</code></em>
. <em class="parameter"><code>select</code></em>
's 
ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-insert-take-select.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>select</p></td>
<td class="parameter_description"><p>a SELECT or COMPOUND <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-delete-take-table-name"></a><h3>gda_sql_statement_delete_take_table_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_delete_take_table_name
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the name of the table to delete from in <em class="parameter"><code>stmt</code></em>
. <em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-delete-take-table-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a table name as a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> </p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-delete-take-condition"></a><h3>gda_sql_statement_delete_take_condition ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_delete_take_condition
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *cond</code></em>);</pre>
<p>Sets the WHERE condition of <em class="parameter"><code>stmt</code></em>
. <em class="parameter"><code>cond</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-delete-take-condition.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cond</p></td>
<td class="parameter_description"><p>the WHERE condition of the DELETE statement, as a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> </p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-update-take-table-name"></a><h3>gda_sql_statement_update_take_table_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_update_take_table_name
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the name of the table to delete from in <em class="parameter"><code>stmt</code></em>
.</p>
<p><em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-update-take-table-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a table name, as a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-update-take-on-conflict"></a><h3>gda_sql_statement_update_take_on_conflict ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_update_take_on_conflict
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the name of the resolution conflict algorithm used by <em class="parameter"><code>stmt</code></em>
. <em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-update-take-on-conflict.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>name of the resolution conflict algorithm, as a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-update-take-condition"></a><h3>gda_sql_statement_update_take_condition ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_update_take_condition
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *cond</code></em>);</pre>
<p>Sets the WHERE clause of <em class="parameter"><code>stmt</code></em>
</p>
<p><em class="parameter"><code>expr</code></em>
's ownership is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-update-take-condition.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cond</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-update-take-set-value"></a><h3>gda_sql_statement_update_take_set_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_update_take_set_value
                               (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *fname</code></em>,
                                <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *expr</code></em>);</pre>
<p>Specifies that the field named <em class="parameter"><code>fname</code></em>
 will be updated with the expression <em class="parameter"><code>expr</code></em>
.</p>
<p><em class="parameter"><code>fname</code></em>
 and <em class="parameter"><code>expr</code></em>
's responsibility are transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing them when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-update-take-set-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fname</p></td>
<td class="parameter_description"><p>a field name, as a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-compound-set-type"></a><h3>gda_sql_statement_compound_set_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_compound_set_type (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                     <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementCompoundType" title="enum GdaSqlStatementCompoundType"><span class="type">GdaSqlStatementCompoundType</span></a> type</code></em>);</pre>
<p>Specifies <em class="parameter"><code>stmt</code></em>
's type of compound</p>
<div class="refsect3">
<a name="gda-sql-statement-compound-set-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementCompoundType" title="enum GdaSqlStatementCompoundType"><span class="type">GdaSqlStatementCompoundType</span></a> value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-statement-compound-take-stmt"></a><h3>gda_sql_statement_compound_take_stmt ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_statement_compound_take_stmt (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>,
                                      <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *s</code></em>);</pre>
<p>Adds the <em class="parameter"><code>s</code></em>
 sub-statement to the <em class="parameter"><code>stmt</code></em>
 compound statement. <em class="parameter"><code>s</code></em>
's reference is transferred to
<em class="parameter"><code>stmt</code></em>
 (which means <em class="parameter"><code>stmt</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-statement-compound-take-stmt.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>s</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-expr-new"></a><h3>gda_sql_expr_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="returnvalue">GdaSqlExpr</span></a> *
gda_sql_expr_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> structure, using <em class="parameter"><code>parent</code></em>
 as its parent part.</p>
<div class="refsect3">
<a name="gda-sql-expr-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementInsert" title="GdaSqlStatementInsert"><span class="type">GdaSqlStatementInsert</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementUpdate" title="GdaSqlStatementUpdate"><span class="type">GdaSqlStatementUpdate</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-expr-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-expr-free"></a><h3>gda_sql_expr_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_expr_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *expr</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-expr-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> to be freed.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-expr-copy"></a><h3>gda_sql_expr_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="returnvalue">GdaSqlExpr</span></a> *
gda_sql_expr_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *expr</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> structure initiated with the values stored in <em class="parameter"><code>expr</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-expr-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-expr-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-expr-serialize"></a><h3>gda_sql_expr_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_expr_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *expr</code></em>);</pre>
<p>Creates a new string representation of the SQL expression. You need to free the returned string
using <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>;</p>
<div class="refsect3">
<a name="gda-sql-expr-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-expr-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the SQL expression or "null" in case <em class="parameter"><code>expr</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-expr-take-select"></a><h3>gda_sql_expr_take_select ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_expr_take_select (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *expr</code></em>,
                          <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>);</pre>
<p>Sets the expression's parent to the <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a> held by <em class="parameter"><code>stmt</code></em>
. After
calling this function <em class="parameter"><code>stmt</code></em>
 is freed.</p>
<div class="refsect3">
<a name="gda-sql-expr-take-select.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> holding the <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a> to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-param-spec-new"></a><h3>gda_sql_param_spec_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="returnvalue">GdaSqlParamSpec</span></a> *
gda_sql_param_spec_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *simple_spec</code></em>);</pre>
<p><em class="parameter"><code>value</code></em>
 must contain a string representing a variable, see the documentation associated to the
<a class="link" href="GdaSqlParser.html" title="GdaSqlParser"><span class="type">GdaSqlParser</span></a> object.</p>
<p><em class="parameter"><code>value</code></em>
 is destroyed by this function.</p>
<div class="refsect3">
<a name="gda-sql-param-spec-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-param-spec-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-param-spec-copy"></a><h3>gda_sql_param_spec_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="returnvalue">GdaSqlParamSpec</span></a> *
gda_sql_param_spec_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> *pspec</code></em>);</pre>
<p>Creates a copy of <em class="parameter"><code>pspec</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-param-spec-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-param-spec-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-param-spec-take-name"></a><h3>gda_sql_param_spec_take_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_param_spec_take_name (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> *pspec</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets <em class="parameter"><code>pspec</code></em>
's name. <em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>pspec</code></em>
 (which means <em class="parameter"><code>pspec</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-param-spec-take-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-param-spec-take-type"></a><h3>gda_sql_param_spec_take_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_param_spec_take_type (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> *pspec</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets <em class="parameter"><code>pspec</code></em>
's data type. <em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>pspec</code></em>
 (which means <em class="parameter"><code>pspec</code></em>
 is then responsible for freeing it when no longer needed).</p>
<p><em class="parameter"><code>value</code></em>
 must represent a data type, as understood by <a class="link" href="libgda-5.0-Utility-functions.html#gda-g-type-from-string" title="gda_g_type_from_string ()"><code class="function">gda_g_type_from_string()</code></a>.</p>
<div class="refsect3">
<a name="gda-sql-param-spec-take-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-param-spec-take-descr"></a><h3>gda_sql_param_spec_take_descr ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_param_spec_take_descr (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> *pspec</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets <em class="parameter"><code>pspec</code></em>
's description. <em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>pspec</code></em>
 (which means <em class="parameter"><code>pspec</code></em>
 is then responsible for freeing it when no longer needed).</p>
<div class="refsect3">
<a name="gda-sql-param-spec-take-descr.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-param-spec-take-nullok"></a><h3>gda_sql_param_spec_take_nullok ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_param_spec_take_nullok (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> *pspec</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets <em class="parameter"><code>pspec</code></em>
's ability of being NULL. <em class="parameter"><code>value</code></em>
's ownership is transferred to
<em class="parameter"><code>pspec</code></em>
 (which means <em class="parameter"><code>pspec</code></em>
 is then responsible for freeing it when no longer needed).</p>
<p>If <em class="parameter"><code>value</code></em>
's string starts by 't' or 'T' then <em class="parameter"><code>pspec</code></em>
 will be allowed to be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
<div class="refsect3">
<a name="gda-sql-param-spec-take-nullok.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a G_TYPE_STRING <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-param-spec-free"></a><h3>gda_sql_param_spec_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_param_spec_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> *pspec</code></em>);</pre>
<p>Destroys <em class="parameter"><code>pspec</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-param-spec-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-param-spec-serialize"></a><h3>gda_sql_param_spec_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_param_spec_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> *pspec</code></em>);</pre>
<p>Creates a new string representing <em class="parameter"><code>pspec</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-param-spec-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-param-spec-serialize.returns"></a><h4>Returns</h4>
<p> a new string.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-field-new"></a><h3>gda_sql_field_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="returnvalue">GdaSqlField</span></a> *
gda_sql_field_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> structure, using <em class="parameter"><code>parent</code></em>
 as its parent part.</p>
<div class="refsect3">
<a name="gda-sql-field-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementInsert" title="GdaSqlStatementInsert"><span class="type">GdaSqlStatementInsert</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementDelete" title="GdaSqlStatementDelete"><span class="type">GdaSqlStatementDelete</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementUpdate" title="GdaSqlStatementUpdate"><span class="type">GdaSqlStatementUpdate</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-field-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-field-free"></a><h3>gda_sql_field_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_field_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> *field</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-field-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> to be freed.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-field-copy"></a><h3>gda_sql_field_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="returnvalue">GdaSqlField</span></a> *
gda_sql_field_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> *field</code></em>);</pre>
<p>Creates a new GdaSqlField structure initiated with the values stored in <em class="parameter"><code>field</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-field-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-field-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-field-serialize"></a><h3>gda_sql_field_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_field_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> *field</code></em>);</pre>
<p>Creates a new string representing a field. You need to free the returned string
using <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>;</p>
<div class="refsect3">
<a name="gda-sql-field-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-field-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the name of the field or "null" in case <em class="parameter"><code>field</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-field-take-name"></a><h3>gda_sql_field_take_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_field_take_name (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> *field</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the field's name using the string held by <em class="parameter"><code>value</code></em>
. When call, <em class="parameter"><code>value</code></em>
 is freed using
<a class="link" href="libgda-5.0-Gda-Value.html#gda-value-free" title="gda_value_free ()"><code class="function">gda_value_free()</code></a>.</p>
<div class="refsect3">
<a name="gda-sql-field-take-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> holding a string to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-table-new"></a><h3>gda_sql_table_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="returnvalue">GdaSqlTable</span></a> *
gda_sql_table_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure, using <em class="parameter"><code>parent</code></em>
 as its parent part.</p>
<div class="refsect3">
<a name="gda-sql-table-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementInsert" title="GdaSqlStatementInsert"><span class="type">GdaSqlStatementInsert</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementDelete" title="GdaSqlStatementDelete"><span class="type">GdaSqlStatementDelete</span></a>, <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementUpdate" title="GdaSqlStatementUpdate"><span class="type">GdaSqlStatementUpdate</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-table-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-table-free"></a><h3>gda_sql_table_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_table_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> *table</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-table-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-table-copy"></a><h3>gda_sql_table_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="returnvalue">GdaSqlTable</span></a> *
gda_sql_table_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> *table</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure initiated with the values stored in <em class="parameter"><code>table</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-table-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>table</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-table-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-table-serialize"></a><h3>gda_sql_table_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_table_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> *table</code></em>);</pre>
<p>Creates a new string representing a table. You need to free the returned string
using <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>;</p>
<div class="refsect3">
<a name="gda-sql-table-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-table-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the name of the field or "null" in case <em class="parameter"><code>table</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-table-take-name"></a><h3>gda_sql_table_take_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_table_take_name (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> *table</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the table's name using the string held by <em class="parameter"><code>value</code></em>
. When call, <em class="parameter"><code>value</code></em>
 is freed using
<a class="link" href="libgda-5.0-Gda-Value.html#gda-value-free" title="gda_value_free ()"><code class="function">gda_value_free()</code></a>.</p>
<div class="refsect3">
<a name="gda-sql-table-take-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> holding a string to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-function-new"></a><h3>gda_sql_function_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="returnvalue">GdaSqlFunction</span></a> *
gda_sql_function_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure initiated.</p>
<div class="refsect3">
<a name="gda-sql-function-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-function-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-function-free"></a><h3>gda_sql_function_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_function_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> *function</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-function-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>function</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-function-copy"></a><h3>gda_sql_function_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="returnvalue">GdaSqlFunction</span></a> *
gda_sql_function_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> *function</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure initiated with the values stored in <em class="parameter"><code>function</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-function-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>function</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-function-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-function-serialize"></a><h3>gda_sql_function_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_function_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> *function</code></em>);</pre>
<p>Creates a new string representing a function. You need to free the returned string
using <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>;</p>
<div class="refsect3">
<a name="gda-sql-function-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>function</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-function-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the description of the function or "null" in case <em class="parameter"><code>function</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-function-take-name"></a><h3>gda_sql_function_take_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_function_take_name (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> *function</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the function's name using the string held by <em class="parameter"><code>value</code></em>
. When call, <em class="parameter"><code>value</code></em>
 is freed using
<a class="link" href="libgda-5.0-Gda-Value.html#gda-value-free" title="gda_value_free ()"><code class="function">gda_value_free()</code></a>.</p>
<div class="refsect3">
<a name="gda-sql-function-take-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>function</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> holding a string to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-function-take-args-list"></a><h3>gda_sql_function_take_args_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_function_take_args_list (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> *function</code></em>,
                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *args</code></em>);</pre>
<p>Sets the function's arguments to point to <em class="parameter"><code>args</code></em>
, then sets the
list's data elements' parent to <em class="parameter"><code>function</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-function-take-args-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>function</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>args</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-operation-new"></a><h3>gda_sql_operation_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="returnvalue">GdaSqlOperation</span></a> *
gda_sql_operation_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure and sets its parent to <em class="parameter"><code>parent</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-operation-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-operation-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-operation-free"></a><h3>gda_sql_operation_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_operation_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> *operation</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-operation-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>operation</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-operation-copy"></a><h3>gda_sql_operation_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="returnvalue">GdaSqlOperation</span></a> *
gda_sql_operation_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> *operation</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure initiated with the values stored in <em class="parameter"><code>operation</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-operation-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>operation</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-operation-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-operation-serialize"></a><h3>gda_sql_operation_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_operation_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> *operation</code></em>);</pre>
<p>Creates a new string representing an operator. You need to free the returned string
using <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>;</p>
<div class="refsect3">
<a name="gda-sql-operation-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>operation</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-operation-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the description of the operator or "null" in case <em class="parameter"><code>operation</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-operation-operator-to-string"></a><h3>gda_sql_operation_operator_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_operation_operator_to_string (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperatorType" title="enum GdaSqlOperatorType"><span class="type">GdaSqlOperatorType</span></a> op</code></em>);</pre>
<p>Returns a constant string representing a operator name. You don't need to free
the returned string.</p>
<div class="refsect3">
<a name="gda-sql-operation-operator-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>op</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-operation-operator-to-string.returns"></a><h4>Returns</h4>
<p> a string with the operator's name or NULL in case <em class="parameter"><code>op</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-operation-operator-from-string"></a><h3>gda_sql_operation_operator_from_string ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperatorType" title="enum GdaSqlOperatorType"><span class="returnvalue">GdaSqlOperatorType</span></a>
gda_sql_operation_operator_from_string
                               (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *op</code></em>);</pre>
<p>Returns <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperatorType" title="enum GdaSqlOperatorType"><span class="type">GdaSqlOperatorType</span></a> that correspond with the string <em class="parameter"><code>op</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-operation-operator-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>op</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-operation-operator-from-string.returns"></a><h4>Returns</h4>
<p> <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperatorType" title="enum GdaSqlOperatorType"><span class="type">GdaSqlOperatorType</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-case-new"></a><h3>gda_sql_case_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="returnvalue">GdaSqlCase</span></a> *
gda_sql_case_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> structure and sets its parent to <em class="parameter"><code>parent</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-case-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-case-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-case-free"></a><h3>gda_sql_case_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_case_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> *sc</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-case-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>sc</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-case-copy"></a><h3>gda_sql_case_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="returnvalue">GdaSqlCase</span></a> *
gda_sql_case_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> *sc</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> structure initiated with the values stored in <em class="parameter"><code>sc</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-case-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>sc</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-case-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-case-serialize"></a><h3>gda_sql_case_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_case_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> *sc</code></em>);</pre>
<p>Creates a new string representing a CASE clause. You need to free the returned string
using <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>;</p>
<div class="refsect3">
<a name="gda-sql-case-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>sc</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-case-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the description of the CASE clause or "null" in case <em class="parameter"><code>sc</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-field-new"></a><h3>gda_sql_select_field_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="returnvalue">GdaSqlSelectField</span></a> *
gda_sql_select_field_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure and sets its parent to <em class="parameter"><code>parent</code></em>
. A
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> is any expression in SELECT statements before the FROM clause.</p>
<div class="refsect3">
<a name="gda-sql-select-field-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-field-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-field-free"></a><h3>gda_sql_select_field_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_field_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> *field</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-select-field-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-field-copy"></a><h3>gda_sql_select_field_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="returnvalue">GdaSqlSelectField</span></a> *
gda_sql_select_field_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> *field</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure initiated with the values stored in <em class="parameter"><code>field</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-field-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-field-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-field-serialize"></a><h3>gda_sql_select_field_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_select_field_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> *field</code></em>);</pre>
<p>Creates a new string representing an expression used as field in a SELECT statement
before the FROM clause.</p>
<div class="refsect3">
<a name="gda-sql-select-field-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-field-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the description of the expression or "null" in case <em class="parameter"><code>field</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-field-take-star-value"></a><h3>gda_sql_select_field_take_star_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_field_take_star_value (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> *field</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the expression field's value in the <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure to point to <em class="parameter"><code>value</code></em>
;
after this <em class="parameter"><code>field</code></em>
 is the owner of <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-field-take-star-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-field-take-expr"></a><h3>gda_sql_select_field_take_expr ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_field_take_expr (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> *field</code></em>,
                                <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *expr</code></em>);</pre>
<p>Sets the expression field in the <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure to point to <em class="parameter"><code>expr</code></em>

and modify it to sets its parent to <em class="parameter"><code>field</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-field-take-expr.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>expr</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-field-take-alias"></a><h3>gda_sql_select_field_take_alias ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_field_take_alias (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> *field</code></em>,
                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *alias</code></em>);</pre>
<p>Sets the 'as' field's string in the <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure. <em class="parameter"><code>alias</code></em>
 is freed
after call this function.</p>
<div class="refsect3">
<a name="gda-sql-select-field-take-alias.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>field</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>alias</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-target-new"></a><h3>gda_sql_select_target_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="returnvalue">GdaSqlSelectTarget</span></a> *
gda_sql_select_target_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure and sets its parent to <em class="parameter"><code>parent</code></em>
. A
<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> is the table in a SELECT statement.</p>
<div class="refsect3">
<a name="gda-sql-select-target-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-target-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-target-free"></a><h3>gda_sql_select_target_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_target_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> *target</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-select-target-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>target</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-target-copy"></a><h3>gda_sql_select_target_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="returnvalue">GdaSqlSelectTarget</span></a> *
gda_sql_select_target_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> *target</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure initiated with the values stored in <em class="parameter"><code>target</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-target-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>target</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-target-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-target-serialize"></a><h3>gda_sql_select_target_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_select_target_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> *target</code></em>);</pre>
<p>Creates a new string representing a target used in a SELECT statement
after the FROM clause.</p>
<div class="refsect3">
<a name="gda-sql-select-target-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>target</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-target-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the description of the expression or "null" in case <em class="parameter"><code>field</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-target-take-table-name"></a><h3>gda_sql_select_target_take_table_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_target_take_table_name (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> *target</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Sets the target to be a SELECT subquery setting target's expression to use
<em class="parameter"><code>stmt</code></em>
; after call this function the target owns <em class="parameter"><code>stmt</code></em>
, then you must not free it.</p>
<div class="refsect3">
<a name="gda-sql-select-target-take-table-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>target</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-target-take-select"></a><h3>gda_sql_select_target_take_select ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_target_take_select (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> *target</code></em>,
                                   <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> *stmt</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-target-take-alias"></a><h3>gda_sql_select_target_take_alias ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_target_take_alias (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> *target</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *alias</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-join-new"></a><h3>gda_sql_select_join_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="returnvalue">GdaSqlSelectJoin</span></a> *
gda_sql_select_join_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> structure and sets its parent to <em class="parameter"><code>parent</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-join-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-join-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> structure</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-join-free"></a><h3>gda_sql_select_join_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_join_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> *join</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-select-join-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>join</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-join-copy"></a><h3>gda_sql_select_join_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="returnvalue">GdaSqlSelectJoin</span></a> *
gda_sql_select_join_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> *join</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> structure initiated with the values stored in <em class="parameter"><code>join</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-join-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>join</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-join-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-join-serialize"></a><h3>gda_sql_select_join_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_select_join_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> *join</code></em>);</pre>
<p>Creates a new string description of the join used in a SELECT statement.</p>
<div class="refsect3">
<a name="gda-sql-select-join-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>join</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-join-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the description of the join or "null" in case <em class="parameter"><code>join</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-join-type-to-string"></a><h3>gda_sql_select_join_type_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_select_join_type_to_string (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoinType" title="enum GdaSqlSelectJoinType"><span class="type">GdaSqlSelectJoinType</span></a> type</code></em>);</pre>
<p>Creates a new string representing the join type.</p>
<div class="refsect3">
<a name="gda-sql-select-join-type-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoinType" title="enum GdaSqlSelectJoinType"><span class="type">GdaSqlSelectJoinType</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-join-type-to-string.returns"></a><h4>Returns</h4>
<p> a string representing the Join type.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-from-new"></a><h3>gda_sql_select_from_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="returnvalue">GdaSqlSelectFrom</span></a> *
gda_sql_select_from_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure and sets its parent to <em class="parameter"><code>parent</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-from-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-from-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-from-free"></a><h3>gda_sql_select_from_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_from_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> *from</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-select-from-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>from</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-from-copy"></a><h3>gda_sql_select_from_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="returnvalue">GdaSqlSelectFrom</span></a> *
gda_sql_select_from_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> *from</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure initiated with the values stored in <em class="parameter"><code>from</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-from-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>from</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-from-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-from-serialize"></a><h3>gda_sql_select_from_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_select_from_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> *from</code></em>);</pre>
<p>Creates a new string description of the FROM clause used in a SELECT statement.</p>
<div class="refsect3">
<a name="gda-sql-select-from-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>from</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-from-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the description of the FROM or "null" in case <em class="parameter"><code>from</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-from-take-new-target"></a><h3>gda_sql_select_from_take_new_target ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_from_take_new_target (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> *from</code></em>,
                                     <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> *target</code></em>);</pre>
<p>Append <em class="parameter"><code>target</code></em>
 to the targets in the FROM clause and set <em class="parameter"><code>target</code></em>
's parent to
<em class="parameter"><code>from</code></em>
; after call this function <em class="parameter"><code>from</code></em>
 owns <em class="parameter"><code>target</code></em>
 then you must not free it.</p>
<div class="refsect3">
<a name="gda-sql-select-from-take-new-target.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>from</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>target</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a> to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-from-take-new-join"></a><h3>gda_sql_select_from_take_new_join ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_from_take_new_join (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> *from</code></em>,
                                   <em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> *join</code></em>);</pre>
<p>Append <em class="parameter"><code>join</code></em>
 to the joins in the FROM clause and set <em class="parameter"><code>join</code></em>
's parent to
<em class="parameter"><code>from</code></em>
; after call this function <em class="parameter"><code>from</code></em>
 owns <em class="parameter"><code>join</code></em>
 then you must not free it.</p>
<div class="refsect3">
<a name="gda-sql-select-from-take-new-join.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>from</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>join</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a> to take from</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-order-new"></a><h3>gda_sql_select_order_new ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="returnvalue">GdaSqlSelectOrder</span></a> *
gda_sql_select_order_new (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *parent</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> structure and sets its parent to <em class="parameter"><code>parent</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-order-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-order-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> structure</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-order-free"></a><h3>gda_sql_select_order_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_sql_select_order_free (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> *order</code></em>);</pre>
<p>Frees a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> structure and its members.</p>
<div class="refsect3">
<a name="gda-sql-select-order-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>order</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> structure to be freed</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-order-copy"></a><h3>gda_sql_select_order_copy ()</h3>
<pre class="programlisting"><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="returnvalue">GdaSqlSelectOrder</span></a> *
gda_sql_select_order_copy (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> *order</code></em>);</pre>
<p>Creates a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> structure initiated with the values stored in <em class="parameter"><code>order</code></em>
.</p>
<div class="refsect3">
<a name="gda-sql-select-order-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>order</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> structure to be copied</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-order-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> structure.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-select-order-serialize"></a><h3>gda_sql_select_order_serialize ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_select_order_serialize (<em class="parameter"><code><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> *order</code></em>);</pre>
<p>Creates a new string description of the ORDER BY clause used in a SELECT statement.</p>
<div class="refsect3">
<a name="gda-sql-select-order-serialize.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>order</p></td>
<td class="parameter_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a> structure</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-select-order-serialize.returns"></a><h4>Returns</h4>
<p> a new string with the description of the ORDER BY or "null" in case <em class="parameter"><code>order</code></em>
is invalid.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-sql-value-stringify"></a><h3>gda_sql_value_stringify ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gda_sql_value_stringify (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
<p>Simplified version of <a class="link" href="libgda-5.0-Gda-Value.html#gda-value-stringify" title="gda_value_stringify ()"><code class="function">gda_value_stringify()</code></a>.</p>
<div class="refsect3">
<a name="gda-sql-value-stringify.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> pointer</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-sql-value-stringify.returns"></a><h4>Returns</h4>
<p> a new string</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdaSqlStatement.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GdaSqlStatement"></a><h3>GdaSqlStatement</h3>
<pre class="programlisting">typedef struct {
	gchar               *sql;
	GdaSqlStatementType  stmt_type;
	gpointer             contents; /* depends on stmt_type */
	GdaMetaStruct       *validity_meta_struct; /* set when gda_sql_statement_check_validity() was last called */
} GdaSqlStatement;
</pre>
<p>This structure is the top level structure encapsulating several type of statements.</p>
<div class="refsect3">
<a name="GdaSqlStatement.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlStatement.sql"></a>sql</code></em>;</p></td>
<td class="struct_member_description"> </td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementType" title="enum GdaSqlStatementType"><span class="type">GdaSqlStatementType</span></a> <em class="structfield"><code><a name="GdaSqlStatement.stmt-type"></a>stmt_type</code></em>;</p></td>
<td class="struct_member_description"><p>type of statement </p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GdaSqlStatement.contents"></a>contents</code></em>;</p></td>
<td class="struct_member_description"><p>contents, cast it depending on <em class="parameter"><code>stmt_type</code></em>
(for example to a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a>).</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="GdaMetaStruct.html" title="GdaMetaStruct"><span class="type">GdaMetaStruct</span></a> *<em class="structfield"><code><a name="GdaSqlStatement.validity-meta-struct"></a>validity_meta_struct</code></em>;</p></td>
<td class="struct_member_description"> </td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementType"></a><h3>enum GdaSqlStatementType</h3>
<p>Known types of statements</p>
<div class="refsect3">
<a name="GdaSqlStatementType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-SELECT:CAPS"></a>GDA_SQL_STATEMENT_SELECT</p></td>
<td class="enum_member_description">
<p>a SELECT statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-INSERT:CAPS"></a>GDA_SQL_STATEMENT_INSERT</p></td>
<td class="enum_member_description">
<p>an INSERT statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-UPDATE:CAPS"></a>GDA_SQL_STATEMENT_UPDATE</p></td>
<td class="enum_member_description">
<p>an UPDATE statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-DELETE:CAPS"></a>GDA_SQL_STATEMENT_DELETE</p></td>
<td class="enum_member_description">
<p>a DELETE statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-COMPOUND:CAPS"></a>GDA_SQL_STATEMENT_COMPOUND</p></td>
<td class="enum_member_description">
<p>a compound statement: multiple SELECT statements grouped together using an operator</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-BEGIN:CAPS"></a>GDA_SQL_STATEMENT_BEGIN</p></td>
<td class="enum_member_description">
<p>start of transaction statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-ROLLBACK:CAPS"></a>GDA_SQL_STATEMENT_ROLLBACK</p></td>
<td class="enum_member_description">
<p>transaction abort statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-COMMIT:CAPS"></a>GDA_SQL_STATEMENT_COMMIT</p></td>
<td class="enum_member_description">
<p>transaction commit statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-SAVEPOINT:CAPS"></a>GDA_SQL_STATEMENT_SAVEPOINT</p></td>
<td class="enum_member_description">
<p>new savepoint definition statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-ROLLBACK-SAVEPOINT:CAPS"></a>GDA_SQL_STATEMENT_ROLLBACK_SAVEPOINT</p></td>
<td class="enum_member_description">
<p>return to savepoint statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-DELETE-SAVEPOINT:CAPS"></a>GDA_SQL_STATEMENT_DELETE_SAVEPOINT</p></td>
<td class="enum_member_description">
<p>savepoint deletion statement</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-UNKNOWN:CAPS"></a>GDA_SQL_STATEMENT_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown statement, only identifies variables</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-NONE:CAPS"></a>GDA_SQL_STATEMENT_NONE</p></td>
<td class="enum_member_description">
<p>not used</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlAnyPart"></a><h3>struct GdaSqlAnyPart</h3>
<pre class="programlisting">struct GdaSqlAnyPart {
	GdaSqlAnyPartType  type;
	GdaSqlAnyPart     *parent;
};
</pre>
<p>Base structure of which all structures (except <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a>) "inherit". It identifies, for each structure,
its type and its parent in the structure hierarchy.</p>
<div class="refsect3">
<a name="GdaSqlAnyPart.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPartType" title="enum GdaSqlAnyPartType"><span class="type">GdaSqlAnyPartType</span></a> <em class="structfield"><code><a name="GdaSqlAnyPart.type"></a>type</code></em>;</p></td>
<td class="struct_member_description"><p>type of structure, as a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPartType" title="enum GdaSqlAnyPartType"><span class="type">GdaSqlAnyPartType</span></a> enum.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *<em class="structfield"><code><a name="GdaSqlAnyPart.parent"></a>parent</code></em>;</p></td>
<td class="struct_member_description"><p>pointer to the parent <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlAnyPartType"></a><h3>enum GdaSqlAnyPartType</h3>
<p>Type of part.</p>
<div class="refsect3">
<a name="GdaSqlAnyPartType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-SELECT:CAPS"></a>GDA_SQL_ANY_STMT_SELECT</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-INSERT:CAPS"></a>GDA_SQL_ANY_STMT_INSERT</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementInsert" title="GdaSqlStatementInsert"><span class="type">GdaSqlStatementInsert</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-UPDATE:CAPS"></a>GDA_SQL_ANY_STMT_UPDATE</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementUpdate" title="GdaSqlStatementUpdate"><span class="type">GdaSqlStatementUpdate</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-DELETE:CAPS"></a>GDA_SQL_ANY_STMT_DELETE</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementDelete" title="GdaSqlStatementDelete"><span class="type">GdaSqlStatementDelete</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-COMPOUND:CAPS"></a>GDA_SQL_ANY_STMT_COMPOUND</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementCompound" title="GdaSqlStatementCompound"><span class="type">GdaSqlStatementCompound</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-BEGIN:CAPS"></a>GDA_SQL_ANY_STMT_BEGIN</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementTransaction" title="GdaSqlStatementTransaction"><span class="type">GdaSqlStatementTransaction</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-ROLLBACK:CAPS"></a>GDA_SQL_ANY_STMT_ROLLBACK</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementTransaction" title="GdaSqlStatementTransaction"><span class="type">GdaSqlStatementTransaction</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-COMMIT:CAPS"></a>GDA_SQL_ANY_STMT_COMMIT</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementTransaction" title="GdaSqlStatementTransaction"><span class="type">GdaSqlStatementTransaction</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-SAVEPOINT:CAPS"></a>GDA_SQL_ANY_STMT_SAVEPOINT</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementTransaction" title="GdaSqlStatementTransaction"><span class="type">GdaSqlStatementTransaction</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-ROLLBACK-SAVEPOINT:CAPS"></a>GDA_SQL_ANY_STMT_ROLLBACK_SAVEPOINT</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementTransaction" title="GdaSqlStatementTransaction"><span class="type">GdaSqlStatementTransaction</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-DELETE-SAVEPOINT:CAPS"></a>GDA_SQL_ANY_STMT_DELETE_SAVEPOINT</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementTransaction" title="GdaSqlStatementTransaction"><span class="type">GdaSqlStatementTransaction</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-STMT-UNKNOWN:CAPS"></a>GDA_SQL_ANY_STMT_UNKNOWN</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementUnknown" title="GdaSqlStatementUnknown"><span class="type">GdaSqlStatementUnknown</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-EXPR:CAPS"></a>GDA_SQL_ANY_EXPR</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-FIELD:CAPS"></a>GDA_SQL_ANY_SQL_FIELD</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-TABLE:CAPS"></a>GDA_SQL_ANY_SQL_TABLE</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-FUNCTION:CAPS"></a>GDA_SQL_ANY_SQL_FUNCTION</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-OPERATION:CAPS"></a>GDA_SQL_ANY_SQL_OPERATION</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-CASE:CAPS"></a>GDA_SQL_ANY_SQL_CASE</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-SELECT-FIELD:CAPS"></a>GDA_SQL_ANY_SQL_SELECT_FIELD</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectField" title="struct GdaSqlSelectField"><span class="type">GdaSqlSelectField</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-SELECT-TARGET:CAPS"></a>GDA_SQL_ANY_SQL_SELECT_TARGET</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-SELECT-JOIN:CAPS"></a>GDA_SQL_ANY_SQL_SELECT_JOIN</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-SELECT-FROM:CAPS"></a>GDA_SQL_ANY_SQL_SELECT_FROM</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectFrom" title="struct GdaSqlSelectFrom"><span class="type">GdaSqlSelectFrom</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-ANY-SQL-SELECT-ORDER:CAPS"></a>GDA_SQL_ANY_SQL_SELECT_ORDER</p></td>
<td class="enum_member_description">
<p>structure is a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectOrder" title="struct GdaSqlSelectOrder"><span class="type">GdaSqlSelectOrder</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementUnknown"></a><h3>GdaSqlStatementUnknown</h3>
<pre class="programlisting">typedef struct {
	GdaSqlAnyPart  any;
	GSList        *expressions;
} GdaSqlStatementUnknown;
</pre>
<p>Represents any statement which type is not identified (any DDL statement or database specific dialect)</p>
<div class="refsect3">
<a name="GdaSqlStatementUnknown.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlStatementUnknown.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"> </td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlStatementUnknown.expressions"></a>expressions</code></em>;</p></td>
<td class="struct_member_description"><p>a list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> pointers</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementTransaction"></a><h3>GdaSqlStatementTransaction</h3>
<pre class="programlisting">typedef struct {
	GdaSqlAnyPart           any;
	GdaTransactionIsolation isolation_level;
	gchar                  *trans_mode; /* DEFERRED, IMMEDIATE, EXCLUSIVE, READ_WRITE, READ_ONLY */
	gchar                  *trans_name;
} GdaSqlStatementTransaction;
</pre>
<p>The statement is a transaction management related statement (BEGIN, ROLLBACK, etc). The <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementTransaction" title="GdaSqlStatementTransaction"><span class="type">GdaSqlStatementTransaction</span></a> structure
does not hold enough information to reconstruct the complete SQL statement (some information may be missing) - the aim of this
structure is to identify a minimum set of information in the transaction statement. Note that the complete SQL which created the
statement should be available in the <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> structure which encapsulates this structure.</p>
<div class="refsect3">
<a name="GdaSqlStatementTransaction.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlStatementTransaction.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="GdaTransactionStatus.html#GdaTransactionIsolation" title="enum GdaTransactionIsolation"><span class="type">GdaTransactionIsolation</span></a> <em class="structfield"><code><a name="GdaSqlStatementTransaction.isolation-level"></a>isolation_level</code></em>;</p></td>
<td class="struct_member_description"><p>isolation level as a <a class="link" href="GdaTransactionStatus.html#GdaTransactionIsolation" title="enum GdaTransactionIsolation"><span class="type">GdaTransactionIsolation</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlStatementTransaction.trans-mode"></a>trans_mode</code></em>;</p></td>
<td class="struct_member_description"><p>transaction mode (DEFERRED, IMMEDIATE, EXCLUSIVE, READ_WRITE, READ_ONLY)</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlStatementTransaction.trans-name"></a>trans_name</code></em>;</p></td>
<td class="struct_member_description"><p>transaction name</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementSelect"></a><h3>GdaSqlStatementSelect</h3>
<pre class="programlisting">typedef struct {
	GdaSqlAnyPart     any;
	gboolean          distinct;
	GdaSqlExpr       *distinct_expr;

	GSList           *expr_list;  /* list of GdaSqlSelectField pointers */
	GdaSqlSelectFrom *from;

	GdaSqlExpr       *where_cond; /* WHERE... */
	GSList           *group_by; /* list of GdaSqlExpr pointers */
	GdaSqlExpr       *having_cond; /* HAVING... */
	GSList           *order_by;   /* list of GdaSqlSelectOrder pointers */

	GdaSqlExpr       *limit_count;
	GdaSqlExpr       *limit_offset;
} GdaSqlStatementSelect;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementInsert"></a><h3>GdaSqlStatementInsert</h3>
<pre class="programlisting">typedef struct {
	GdaSqlAnyPart           any;
	gchar                  *on_conflict; /* conflict resolution clause */
	GdaSqlTable            *table;
	GSList                 *fields_list; /* list of GdaSqlField structures */
	GSList                 *values_list; /* list of list of GdaSqlExpr */
	GdaSqlAnyPart          *select; /* SELECT OR COMPOUND statements: GdaSqlStatementSelect or GdaSqlStatementCompound */
} GdaSqlStatementInsert;
</pre>
<p>The statement is an INSERT statement, any kind of INSERT statement can be represented using this structure

(if this is not the case
then report a bug).</p>
<div class="mediaobject">
<img src="stmt-insert1.png"><div class="caption"><p>
Example of a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> having a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementInsert" title="GdaSqlStatementInsert"><span class="type">GdaSqlStatementInsert</span></a> as its contents with 2 lists of values
to insert.
    </p></div>
</div>
<div class="mediaobject">
<img src="stmt-insert2.png"><div class="caption"><p>
Another example of a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> having a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementInsert" title="GdaSqlStatementInsert"><span class="type">GdaSqlStatementInsert</span></a> as its contents, using a SELECT
to express the values to insert.
    </p></div>
</div>
<div class="refsect3">
<a name="GdaSqlStatementInsert.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlStatementInsert.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlStatementInsert.on-conflict"></a>on_conflict</code></em>;</p></td>
<td class="struct_member_description"><p>conflict resolution clause if there is one (such as "OR REPLACE")</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlTable" title="struct GdaSqlTable"><span class="type">GdaSqlTable</span></a> *<em class="structfield"><code><a name="GdaSqlStatementInsert.table"></a>table</code></em>;</p></td>
<td class="struct_member_description"><p>name of the table to which data is inserted</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlStatementInsert.fields-list"></a>fields_list</code></em>;</p></td>
<td class="struct_member_description"><p>list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> fields which are valued for insertion</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlStatementInsert.values-list"></a>values_list</code></em>;</p></td>
<td class="struct_member_description"><p>list of list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> expressions (this is a list of list, not a simple list)</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *<em class="structfield"><code><a name="GdaSqlStatementInsert.select"></a>select</code></em>;</p></td>
<td class="struct_member_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a> or <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementCompound" title="GdaSqlStatementCompound"><span class="type">GdaSqlStatementCompound</span></a> structure representing the values to insert</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementDelete"></a><h3>GdaSqlStatementDelete</h3>
<pre class="programlisting">typedef struct {
	GdaSqlAnyPart any;
	GdaSqlTable  *table;
	GdaSqlExpr   *cond;
} GdaSqlStatementDelete;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementUpdate"></a><h3>GdaSqlStatementUpdate</h3>
<pre class="programlisting">typedef struct {
	GdaSqlAnyPart     any;
	gchar            *on_conflict; /* conflict resolution clause */
	GdaSqlTable      *table;
	GSList           *fields_list; /* list of GdaSqlField pointers */
	GSList           *expr_list;   /* list of GdaSqlExpr pointers */
	GdaSqlExpr       *cond;
} GdaSqlStatementUpdate;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementCompound"></a><h3>GdaSqlStatementCompound</h3>
<pre class="programlisting">typedef struct {
	GdaSqlAnyPart                any;
	GdaSqlStatementCompoundType  compound_type;
	GSList                      *stmt_list; /* list of SELECT or COMPOUND statements */
} GdaSqlStatementCompound;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlStatementCompoundType"></a><h3>enum GdaSqlStatementCompoundType</h3>
<div class="refsect3">
<a name="GdaSqlStatementCompoundType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-COMPOUND-UNION:CAPS"></a>GDA_SQL_STATEMENT_COMPOUND_UNION</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-COMPOUND-UNION-ALL:CAPS"></a>GDA_SQL_STATEMENT_COMPOUND_UNION_ALL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-COMPOUND-INTERSECT:CAPS"></a>GDA_SQL_STATEMENT_COMPOUND_INTERSECT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-COMPOUND-INTERSECT-ALL:CAPS"></a>GDA_SQL_STATEMENT_COMPOUND_INTERSECT_ALL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-COMPOUND-EXCEPT:CAPS"></a>GDA_SQL_STATEMENT_COMPOUND_EXCEPT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-STATEMENT-COMPOUND-EXCEPT-ALL:CAPS"></a>GDA_SQL_STATEMENT_COMPOUND_EXCEPT_ALL</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlExpr"></a><h3>struct GdaSqlExpr</h3>
<pre class="programlisting">struct GdaSqlExpr {
	GdaSqlAnyPart    any;
	GValue          *value;
	GdaSqlParamSpec *param_spec;
	GdaSqlFunction  *func;
	GdaSqlOperation *cond;
	GdaSqlAnyPart   *select; /* SELECT OR COMPOUND statements: GdaSqlStatementSelect or GdaSqlStatementCompound */
	GdaSqlCase      *case_s;

	gchar           *cast_as;

	gboolean         value_is_ident;
};
</pre>
<p>This structure contains any expression, either as a value (the <em class="parameter"><code>value</code></em>
 part is set),
a variable (the <em class="parameter"><code>param_spec</code></em>
 is set), or as other types of expressions.</p>
<p>Note 1 about the <em class="parameter"><code>value</code></em>
 field: if the expression represents a string value in the SQL statement,
the string itself must be represented as it would be in the actual SQL, ie. it should be
escaped (accordingly to the escaping rules of the database which will use the SQL). For

example a string representing the <strong class="userinput"><code>'joe'</code></strong> value should be</p>
<strong class="userinput"><code>"'joe'"</code></strong> and not <strong class="userinput"><code>"joe"</code></strong>.
<p>Note 2 about the <em class="parameter"><code>value</code></em>
 field: if the expression represents an SQL identifier (such as a table
or field name), then the <em class="parameter"><code>value_is_ident</code></em>
 should be set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, and <em class="parameter"><code>value</code></em>
 should be a string
which may contain double quotes around SQL identifiers which also are reserved keywords or which
are case sensitive.</p>
<div class="refsect3">
<a name="GdaSqlExpr.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlExpr.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *<em class="structfield"><code><a name="GdaSqlExpr.value"></a>value</code></em>;</p></td>
<td class="struct_member_description"><p>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Please see specific note about this field. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a> *<em class="structfield"><code><a name="GdaSqlExpr.param-spec"></a>param_spec</code></em>;</p></td>
<td class="struct_member_description"><p>a <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlParamSpec" title="struct GdaSqlParamSpec"><span class="type">GdaSqlParamSpec</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if this is not a variable. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlFunction" title="struct GdaSqlFunction"><span class="type">GdaSqlFunction</span></a> *<em class="structfield"><code><a name="GdaSqlExpr.func"></a>func</code></em>;</p></td>
<td class="struct_member_description"><p>not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if expression is a function or aggregate. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperation" title="struct GdaSqlOperation"><span class="type">GdaSqlOperation</span></a> *<em class="structfield"><code><a name="GdaSqlExpr.cond"></a>cond</code></em>;</p></td>
<td class="struct_member_description"><p>not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if expression is a condition or an operation. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> *<em class="structfield"><code><a name="GdaSqlExpr.select"></a>select</code></em>;</p></td>
<td class="struct_member_description"><p>not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if expression is a sub select statement (<a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementSelect" title="GdaSqlStatementSelect"><span class="type">GdaSqlStatementSelect</span></a> or <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatementCompound" title="GdaSqlStatementCompound"><span class="type">GdaSqlStatementCompound</span></a>). </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlCase" title="struct GdaSqlCase"><span class="type">GdaSqlCase</span></a> *<em class="structfield"><code><a name="GdaSqlExpr.case-s"></a>case_s</code></em>;</p></td>
<td class="struct_member_description"><p>not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if expression is a CASE WHEN ... expression. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlExpr.cast-as"></a>cast_as</code></em>;</p></td>
<td class="struct_member_description"><p>not <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if expression must be cast to another data type. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GdaSqlExpr.value-is-ident"></a>value_is_ident</code></em>;</p></td>
<td class="struct_member_description"><p>Please see specific note about the <em class="parameter"><code>value</code></em>
field</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlParamSpec"></a><h3>struct GdaSqlParamSpec</h3>
<pre class="programlisting">struct GdaSqlParamSpec {
	gchar    *name;
	gchar    *descr;
	gboolean  is_param;
	gboolean  nullok;

	GType     g_type;
	gpointer  validity_meta_dict; /* to be replaced with a pointer to a structure representing a DBMS data type in GdaMetaStruct */

	/* Padding for future expansion */
	gpointer         _gda_reserved1;
	gpointer         _gda_reserved2;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlField"></a><h3>struct GdaSqlField</h3>
<pre class="programlisting">struct GdaSqlField {
	GdaSqlAnyPart       any;
	gchar              *field_name;

	/* validity check with a connection */
	GdaMetaTableColumn *validity_meta_table_column;
};
</pre>
<p>This structure represents the name of a table's field.</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlTable"></a><h3>struct GdaSqlTable</h3>
<pre class="programlisting">struct GdaSqlTable {
	GdaSqlAnyPart       any;
	gchar              *table_name;

	/* validity check with a connection */
	GdaMetaDbObject    *validity_meta_object;
};
</pre>
<p>This structure represents the name of a table.</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlFunction"></a><h3>struct GdaSqlFunction</h3>
<pre class="programlisting">struct GdaSqlFunction {
	GdaSqlAnyPart       any;
	gchar              *function_name;
	GSList             *args_list;
};
</pre>
<p>This structure represents a function or an aggregate with zero or more arguments.</p>
<div class="refsect3">
<a name="GdaSqlFunction.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlFunction.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlFunction.function-name"></a>function_name</code></em>;</p></td>
<td class="struct_member_description"><p>name of the function , in the form [[catalog.]schema.]function_name</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlFunction.args-list"></a>args_list</code></em>;</p></td>
<td class="struct_member_description"><p>list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> expressions, one for each argument</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlOperation"></a><h3>struct GdaSqlOperation</h3>
<pre class="programlisting">struct GdaSqlOperation {
	GdaSqlAnyPart       any;
	GdaSqlOperatorType  operator_type;
	GSList             *operands;
};
</pre>
<p>This structure represents an operation between one or more operands.</p>
<div class="refsect3">
<a name="GdaSqlOperation.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlOperation.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlOperatorType" title="enum GdaSqlOperatorType"><span class="type">GdaSqlOperatorType</span></a> <em class="structfield"><code><a name="GdaSqlOperation.operator-type"></a>operator_type</code></em>;</p></td>
<td class="struct_member_description"> </td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlOperation.operands"></a>operands</code></em>;</p></td>
<td class="struct_member_description"><p>list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> operands</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlOperatorType"></a><h3>enum GdaSqlOperatorType</h3>
<div class="refsect3">
<a name="GdaSqlOperatorType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-AND:CAPS"></a>GDA_SQL_OPERATOR_TYPE_AND</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-OR:CAPS"></a>GDA_SQL_OPERATOR_TYPE_OR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-EQ:CAPS"></a>GDA_SQL_OPERATOR_TYPE_EQ</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-IS:CAPS"></a>GDA_SQL_OPERATOR_TYPE_IS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-LIKE:CAPS"></a>GDA_SQL_OPERATOR_TYPE_LIKE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-BETWEEN:CAPS"></a>GDA_SQL_OPERATOR_TYPE_BETWEEN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-GT:CAPS"></a>GDA_SQL_OPERATOR_TYPE_GT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-LT:CAPS"></a>GDA_SQL_OPERATOR_TYPE_LT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-GEQ:CAPS"></a>GDA_SQL_OPERATOR_TYPE_GEQ</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-LEQ:CAPS"></a>GDA_SQL_OPERATOR_TYPE_LEQ</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-DIFF:CAPS"></a>GDA_SQL_OPERATOR_TYPE_DIFF</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-REGEXP:CAPS"></a>GDA_SQL_OPERATOR_TYPE_REGEXP</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-REGEXP-CI:CAPS"></a>GDA_SQL_OPERATOR_TYPE_REGEXP_CI</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-NOT-REGEXP:CAPS"></a>GDA_SQL_OPERATOR_TYPE_NOT_REGEXP</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-NOT-REGEXP-CI:CAPS"></a>GDA_SQL_OPERATOR_TYPE_NOT_REGEXP_CI</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-SIMILAR:CAPS"></a>GDA_SQL_OPERATOR_TYPE_SIMILAR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-ISNULL:CAPS"></a>GDA_SQL_OPERATOR_TYPE_ISNULL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-ISNOTNULL:CAPS"></a>GDA_SQL_OPERATOR_TYPE_ISNOTNULL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-NOT:CAPS"></a>GDA_SQL_OPERATOR_TYPE_NOT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-IN:CAPS"></a>GDA_SQL_OPERATOR_TYPE_IN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-NOTIN:CAPS"></a>GDA_SQL_OPERATOR_TYPE_NOTIN</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-CONCAT:CAPS"></a>GDA_SQL_OPERATOR_TYPE_CONCAT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-PLUS:CAPS"></a>GDA_SQL_OPERATOR_TYPE_PLUS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-MINUS:CAPS"></a>GDA_SQL_OPERATOR_TYPE_MINUS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-STAR:CAPS"></a>GDA_SQL_OPERATOR_TYPE_STAR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-DIV:CAPS"></a>GDA_SQL_OPERATOR_TYPE_DIV</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-REM:CAPS"></a>GDA_SQL_OPERATOR_TYPE_REM</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-BITAND:CAPS"></a>GDA_SQL_OPERATOR_TYPE_BITAND</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-BITOR:CAPS"></a>GDA_SQL_OPERATOR_TYPE_BITOR</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-BITNOT:CAPS"></a>GDA_SQL_OPERATOR_TYPE_BITNOT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-ILIKE:CAPS"></a>GDA_SQL_OPERATOR_TYPE_ILIKE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-NOTLIKE:CAPS"></a>GDA_SQL_OPERATOR_TYPE_NOTLIKE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-NOTILIKE:CAPS"></a>GDA_SQL_OPERATOR_TYPE_NOTILIKE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-OPERATOR-TYPE-GLOB:CAPS"></a>GDA_SQL_OPERATOR_TYPE_GLOB</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlCase"></a><h3>struct GdaSqlCase</h3>
<pre class="programlisting">struct GdaSqlCase {
	GdaSqlAnyPart    any;
	GdaSqlExpr      *base_expr;
	GSList          *when_expr_list;
	GSList          *then_expr_list;
	GdaSqlExpr      *else_expr;
};
</pre>
<p>This structure represents a CASE WHEN... construct</p>
<div class="refsect3">
<a name="GdaSqlCase.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlCase.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *<em class="structfield"><code><a name="GdaSqlCase.base-expr"></a>base_expr</code></em>;</p></td>
<td class="struct_member_description"><p>expression to test</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlCase.when-expr-list"></a>when_expr_list</code></em>;</p></td>
<td class="struct_member_description"><p>list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a>, one for each WHEN clause</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlCase.then-expr-list"></a>then_expr_list</code></em>;</p></td>
<td class="struct_member_description"><p>list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a>, one for each THEN clause</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *<em class="structfield"><code><a name="GdaSqlCase.else-expr"></a>else_expr</code></em>;</p></td>
<td class="struct_member_description"><p>default expression for the CASE</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlSelectField"></a><h3>struct GdaSqlSelectField</h3>
<pre class="programlisting">struct GdaSqlSelectField {
	GdaSqlAnyPart       any;
	GdaSqlExpr         *expr;
	gchar              *field_name; /* may be NULL if expr does not refer to a table.field, can also be "*" */
	gchar              *table_name; /* may be NULL if expr does not refer to a table.field */
	gchar              *as;

	/* validity check with a connection */
	GdaMetaDbObject    *validity_meta_object;
	GdaMetaTableColumn *validity_meta_table_column;
};
</pre>
<p>This structure represents a selected item in a SELECT statement (when executed, the returned data set
will have one column per selected item). Note that the <em class="parameter"><code>table_name</code></em>
 and

<em class="parameter"><code>field_name</code></em>
 field parts <span class="emphasis"><em>will be</em></span> overwritten by <span class="application">Libgda</span>,
set the value of <em class="parameter"><code>expr-&gt;value</code></em>
 instead.</p>
<div class="refsect3">
<a name="GdaSqlSelectField.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlSelectField.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *<em class="structfield"><code><a name="GdaSqlSelectField.expr"></a>expr</code></em>;</p></td>
<td class="struct_member_description"><p>expression</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlSelectField.field-name"></a>field_name</code></em>;</p></td>
<td class="struct_member_description"><p>field name part of <em class="parameter"><code>expr</code></em>
if <em class="parameter"><code>expr</code></em>
represents a field</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlSelectField.table-name"></a>table_name</code></em>;</p></td>
<td class="struct_member_description"><p>table name part of <em class="parameter"><code>expr</code></em>
if <em class="parameter"><code>expr</code></em>
represents a field</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlSelectField.as"></a>as</code></em>;</p></td>
<td class="struct_member_description"><p>alias</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="GdaMetaStruct.html#GdaMetaDbObject" title="GdaMetaDbObject"><span class="type">GdaMetaDbObject</span></a> *<em class="structfield"><code><a name="GdaSqlSelectField.validity-meta-object"></a>validity_meta_object</code></em>;</p></td>
<td class="struct_member_description"> </td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="GdaMetaStruct.html#GdaMetaTableColumn" title="GdaMetaTableColumn"><span class="type">GdaMetaTableColumn</span></a> *<em class="structfield"><code><a name="GdaSqlSelectField.validity-meta-table-column"></a>validity_meta_table_column</code></em>;</p></td>
<td class="struct_member_description"> </td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlSelectTarget"></a><h3>struct GdaSqlSelectTarget</h3>
<pre class="programlisting">struct GdaSqlSelectTarget {
	GdaSqlAnyPart       any;
	GdaSqlExpr         *expr;
	gchar              *table_name; /* may be NULL if expr does not refer to a table */
	gchar              *as;

	/* validity check with a connection */
	GdaMetaDbObject    *validity_meta_object;
};
</pre>
<p>This structure represents a target used to fetch data from in a SELECT statement; it can represent a table or
a sub select. Note that the <em class="parameter"><code>table_name</code></em>

part <span class="emphasis"><em>will be</em></span> overwritten by <span class="application">Libgda</span>,
set the value of <em class="parameter"><code>expr-&gt;value</code></em>
 instead.</p>
<div class="refsect3">
<a name="GdaSqlSelectTarget.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlSelectTarget.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *<em class="structfield"><code><a name="GdaSqlSelectTarget.expr"></a>expr</code></em>;</p></td>
<td class="struct_member_description"><p>expression</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlSelectTarget.table-name"></a>table_name</code></em>;</p></td>
<td class="struct_member_description"><p>table name part of <em class="parameter"><code>expr</code></em>
if <em class="parameter"><code>expr</code></em>
represents a table</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlSelectTarget.as"></a>as</code></em>;</p></td>
<td class="struct_member_description"><p>alias</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="GdaMetaStruct.html#GdaMetaDbObject" title="GdaMetaDbObject"><span class="type">GdaMetaDbObject</span></a> *<em class="structfield"><code><a name="GdaSqlSelectTarget.validity-meta-object"></a>validity_meta_object</code></em>;</p></td>
<td class="struct_member_description"> </td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlSelectJoin"></a><h3>struct GdaSqlSelectJoin</h3>
<pre class="programlisting">struct GdaSqlSelectJoin {
	GdaSqlAnyPart         any;
	GdaSqlSelectJoinType  type;
	gint                  position; /* between a target at (pos &lt; @position) and the one @position */
	GdaSqlExpr           *expr;
	GSList               *use; /* list of GdaSqlField pointers */
};
</pre>
<p>This structure represents a join between two targets in a SELECT statement.</p>
<div class="refsect3">
<a name="GdaSqlSelectJoin.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlSelectJoin.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoinType" title="enum GdaSqlSelectJoinType"><span class="type">GdaSqlSelectJoinType</span></a> <em class="structfield"><code><a name="GdaSqlSelectJoin.type"></a>type</code></em>;</p></td>
<td class="struct_member_description"><p>type of join</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdaSqlSelectJoin.position"></a>position</code></em>;</p></td>
<td class="struct_member_description"><p>represents a join between a target at (pos &lt; <em class="parameter"><code>position</code></em>
) and the one at <em class="parameter"><code>position</code></em>
</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *<em class="structfield"><code><a name="GdaSqlSelectJoin.expr"></a>expr</code></em>;</p></td>
<td class="struct_member_description"><p>joining expression, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlSelectJoin.use"></a>use</code></em>;</p></td>
<td class="struct_member_description"><p>list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlField" title="struct GdaSqlField"><span class="type">GdaSqlField</span></a> pointers to use when joining, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlSelectJoinType"></a><h3>enum GdaSqlSelectJoinType</h3>
<div class="refsect3">
<a name="GdaSqlSelectJoinType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-SELECT-JOIN-CROSS:CAPS"></a>GDA_SQL_SELECT_JOIN_CROSS</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-SELECT-JOIN-NATURAL:CAPS"></a>GDA_SQL_SELECT_JOIN_NATURAL</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-SELECT-JOIN-INNER:CAPS"></a>GDA_SQL_SELECT_JOIN_INNER</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-SELECT-JOIN-LEFT:CAPS"></a>GDA_SQL_SELECT_JOIN_LEFT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-SELECT-JOIN-RIGHT:CAPS"></a>GDA_SQL_SELECT_JOIN_RIGHT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDA-SQL-SELECT-JOIN-FULL:CAPS"></a>GDA_SQL_SELECT_JOIN_FULL</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlSelectFrom"></a><h3>struct GdaSqlSelectFrom</h3>
<pre class="programlisting">struct GdaSqlSelectFrom {
	GdaSqlAnyPart    any;
	GSList          *targets;
	GSList          *joins;
};
</pre>
<p>This structure represents the FROM clause of a SELECT statement, it lists targets and joins</p>
<div class="refsect3">
<a name="GdaSqlSelectFrom.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlSelectFrom.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlSelectFrom.targets"></a>targets</code></em>;</p></td>
<td class="struct_member_description"><p>list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectTarget" title="struct GdaSqlSelectTarget"><span class="type">GdaSqlSelectTarget</span></a>. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Gda.SqlSelectTarget]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *<em class="structfield"><code><a name="GdaSqlSelectFrom.joins"></a>joins</code></em>;</p></td>
<td class="struct_member_description"><p>list of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlSelectJoin" title="struct GdaSqlSelectJoin"><span class="type">GdaSqlSelectJoin</span></a>. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> Gda.SqlSelectJoin]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GdaSqlSelectOrder"></a><h3>struct GdaSqlSelectOrder</h3>
<pre class="programlisting">struct GdaSqlSelectOrder {
	GdaSqlAnyPart    any;
	GdaSqlExpr      *expr;
	gboolean         asc;
	gchar           *collation_name;
};
</pre>
<p>This structure represents the ordering of a SELECT statement.</p>
<div class="refsect3">
<a name="GdaSqlSelectOrder.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlAnyPart" title="struct GdaSqlAnyPart"><span class="type">GdaSqlAnyPart</span></a> <em class="structfield"><code><a name="GdaSqlSelectOrder.any"></a>any</code></em>;</p></td>
<td class="struct_member_description"><p>inheritance structure</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlExpr" title="struct GdaSqlExpr"><span class="type">GdaSqlExpr</span></a> *<em class="structfield"><code><a name="GdaSqlSelectOrder.expr"></a>expr</code></em>;</p></td>
<td class="struct_member_description"><p>expression to order on</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GdaSqlSelectOrder.asc"></a>asc</code></em>;</p></td>
<td class="struct_member_description"><p>TRUE is ordering is ascending</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GdaSqlSelectOrder.collation-name"></a>collation_name</code></em>;</p></td>
<td class="struct_member_description"><p>name of the collation to use for ordering</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="libgda-5.0-GdaSqlStatement.see-also"></a><h2>See Also</h2>
<p>The <a class="link" href="GdaSqlBuilder.html" title="GdaSqlBuilder"><span class="type">GdaSqlBuilder</span></a> object which features some easy to use API to build <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a> structures or <a class="link" href="GdaStatement.html" title="GdaStatement"><span class="type">GdaStatement</span></a> objects without having to worry about the details of <a class="link" href="libgda-5.0-GdaSqlStatement.html#GdaSqlStatement" title="GdaSqlStatement"><span class="type">GdaSqlStatement</span></a>'s contents.</p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32</div>
</body>
</html>